package org.gary.core.util;

/**
 * 返回字符串
 * @author lengreen
 *
 */
public class ResultMessage {
	
	/**
	 * 产品的返回字符串
	 * @author lengreen
	 *
	 */
	public static class product {
		/**添加产品成功 */
		public static final String ADD_SUCCESS = "add_product_success";
		/**添加产品失败 */
		public static final String ADD_FAIL = "add_product_fail";
		/**添加产品是空的 */
		public static final String ADD_NONE = "add_product_none";
	}
	
	/**
	 * 友情链接的返回字符串
	 * @author lengreen
	 *
	 */
	public static class link {
		/**添加友情链接成功 */
		public static final String ADD_SUCCESS = "add_link_success";
		/**添加友情链接失败 */
		public static final String ADD_FAIL = "add_link_fail";
		/**添加友情链接是空的 */
		public static final String ADD_NONE = "add_link_none";
	}
	
	/**
	 * 新闻的返回字符串
	 * @author lengreen
	 *
	 */
	public static class news {
		/**添加新闻成功 */
		public static final String ADD_SUCCESS = "add_news_success";
		/**添加新闻失败 */
		public static final String ADD_FAIL = "add_news_fail";
		/**添加新闻是空的 */
		public static final String ADD_NONE = "add_news_none";
	}
	
	/**
	 * 设备的返回字符串
	 * @author lengreen
	 *
	 */
	public static class equipment {
		/**添加设备成功 */
		public static final String ADD_SUCCESS = "add_equipment_success";
		/**添加设备失败 */
		public static final String ADD_FAIL = "add_equipment_fail";
		/**添加设备是空的 */
		public static final String ADD_NONE = "add_equipment_none";
	}
	
	/**
	 * admin的返回字符串
	 * @author lengreen
	 *
	 */
	public static class admin {
		/**添加admin成功 */
		public static final String ADD_SUCCESS = "add_admin_success";
		/**添加admin失败 */
		public static final String ADD_FAIL = "add_admin_fail";
		/**添加admin是空的 */
		public static final String ADD_NONE = "add_admin_none";
		/**登录成功 */
		public static final String LOGIN_SUCCESS = "admin_login_success";
		/**登录失败 */
		public static final String LOGIN_FAIL = "admin_login_fail";
	}
	
	/**
	 * category的返回字符串
	 * @author lengreen
	 *
	 */
	public static class category {
		/**添加category成功 */
		public static final String ADD_SUCCESS = "add_category_success";
		/**添加category失败 */
		public static final String ADD_FAIL = "add_category_fail";
		/**添加category是空的 */
		public static final String ADD_NONE = "add_category_none";
	}
	
	/**
	 * image的返回字符串
	 * @author lengreen
	 *
	 */
	public static class image {
		/**添加image成功 */
		public static final String ADD_SUCCESS = "add_image_success";
		/**添加image失败 */
		public static final String ADD_FAIL = "add_image_fail";
		/**添加image是空的 */
		public static final String ADD_NONE = "add_image_none";
	}
	
	/**
	 * 
	 * @author gary
	 *
	 */
	public static class feedback{
		/**添加留言feedback成功*/
		public static final String ADD_SUCCESS = "add_feedback_success";
		/**添加留言feedback失败*/
		public static final String ADD_FAIL = "add_feedback_fail";
	}
}
